package com.user.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.user.entity.User;
import com.user.mapper.UserMapper;

/**
 * <p>Title: UserService</p>
 * <p>Description: </p> 
 * @author liukang
 * @date 2017年6月15日
 */
@Service
public class UserService {
	
	@Autowired
	private UserMapper userMapper;
	
	public User findByUserName(String name){
		return userMapper.findByUserName(name);
	}
}
